<style>
  .{{$template|escape:'html'}}_table1 {
    width: 900px;
    height: 25px;
    margin-top:13px;
  }
  .{{$template|escape:'html'}}_table2 {
    width: 900px;
    height: 90px;
    background-color: #ebebe3;
    border-right:solid 1px #b3b3ba;
    border-bottom:solid 1px #8f8f8a;
    border-left:solid 1px #ffffff;
    border-top:solid 1px #ffffff;
  }
  .{{$template|escape:'html'}}_table3 {
    width: 860px;
    height: 150px;
  }
  .{{$template|escape:'html'}}_table4 {
    width: 900px;
    background-color: #ebebe3;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
    border-bottom:solid 1px #b3b3ba;
  }
  .{{$template|escape:'html'}}_table5 {
    width: 860px;
    padding: 15px 0;
  }
  .{{$template|escape:'html'}}_table55 {
    width: 860px;
    height: 52px;
  }
  .{{$template|escape:'html'}}_table6 {
    width: 900px;
    height: 25px;
    margin: 5px 0 0 0;
  }
  .{{$template|escape:'html'}}_table7 {
    width: 898px;
    height: 25px;
  }
  .{{$template|escape:'html'}}_table8 {
    width: 860px;
    height: 90px;
    padding-bottom:5px;
  }
  .{{$template|escape:'html'}}_table9 {
    width: 900px;
    height: 40px;
  }
  .{{$template|escape:'html'}}_table10 {
    width: 900px;
    height: 50px;
    background-color: #ebebe3;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
    border-bottom:solid 1px #b3b3ba;
  }
  .{{$template|escape:'html'}}_table11 {
    width: 860px;
    padding: 25px 0 5px;
  }
  .{{$template|escape:'html'}}_table12 {
    width: 898px;
    height: 40px;
    background-color:#ebebe3;
  }
  .{{$template|escape:'html'}}_table120 {
    width: 900px;
    height: 40px;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
    background-color:#ebebe3;
  }
  .{{$template|escape:'html'}}_table13 {
    width: 900px;
    height: 80px;
    background-color: #ebebe3;
    border-right:solid 1px #b3b3ba;
    border-bottom:solid 1px #8f8f8a;
    border-left:solid 1px #ffffff;
  }
  .{{$template|escape:'html'}}_table130 {
    width: 900px;
    height: 80px;
  }
  .{{$template|escape:'html'}}_table14 {
    width: 898px;
    margin: 10px 0 0 0;
  }
  .{{$template|escape:'html'}}_table15 {
    width: 860px;
    height: 100px;
  }
  .{{$template|escape:'html'}}_table16 {
    width: 860px;
    height: 100px;
  }
  .{{$template|escape:'html'}}_table17 {
    width: 900px;
    height: 100px;
  }
  .{{$template|escape:'html'}}_table18 {
    width: 900px;
    height: 22px;
  }
  .{{$template|escape:'html'}}_table19 {
    width: 900px;
    height: 30px;
  }
  .{{$template|escape:'html'}}_table21 {
    width: 880px;
    padding: 0 0 10px;
  }
  .{{$template|escape:'html'}}_table23{
    width: 860px;
    height: 50px;
  }
  .{{$template|escape:'html'}}_table24{
    width: 858px;
  }
  .{{$template|escape:'html'}}_table25{
    height: 10px;
  }
  .{{$template|escape:'html'}}_table26{
    height: 32px;
    vertical-align : top;
  }
  .{{$template|escape:'html'}}_table27 {
    width: 860px;
    height: 25px;
  }
  .{{$template|escape:'html'}}_table28 {
    width: 900px;
    height: 22px;
  }
  .{{$template|escape:'html'}}_table29 {
    width: 860px;
    height: 21px;
    margin: 13px 0 0 0;
  }
  .{{$template|escape:'html'}}_table30 {
    width: 900px;
    height: 25px;
    margin: 13px 0 0 0;
  }
  .{{$template|escape:'html'}}_td1 {
    background-image: url('images/common/headline.png');
    background-repeat: repeat-x;
    border-right: solid 1px #8F8F8A;
    border-left: solid 1px #fff;
    width: 900px;
    height: 25px;
    padding: 0 0 0 10px;
    text-align: left;
    font-weight:bold;
    font-size:125%;
    color:#633e36;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_tdalert {
    background-color: #885B5D;
    width: 900px;
    height: 25px;
    padding: 0 0 0 10px;
    text-align: left;
    font-weight:bold;
    font-size:125%;
    color:#fff;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td2 {
    width: 900px;
  }
  .{{$template|escape:'html'}}_td3 {
    width: 110px;
    height: 25px;
    font-weight:bold;
    font-size:110%;
    color:#694247 ;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td4 {
    width: 360px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td5 {
    width: 110px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td6 {
    width: 280px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td7 {
    width: 900px;
    height: 15px;
  }
  .{{$template|escape:'html'}}_td8 {
    width: 195px;
    height: 25px;
    font-weight:bold;
    font-size:10pt;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td9 {
    width: 150px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td10 {
    width: 20px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td11 {
    width: 100px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td12 {
    width: 200px;
    text-align: left;
    vertical-align: middle;
    font-weight:bold;
    font-size:10pt;
    color:#694247;
  }
  .{{$template|escape:'html'}}_td13 {
    width: 150px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td14 {
    width: 20px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td15 {
    width: 51px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td16 {
    width: 280px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_span1 {
    white-space: nowrap;
    font-size: 14px;
    font-weight:bold;
    color: #000;
    white-space: nowrap;
  }
  .{{$template|escape:'html'}}_span2 {
    font-size: 13px;
    white-space: nowrap;
    color: #694247;
  }
  .{{$template|escape:'html'}}_span3 {
    font-size: 13px;
    white-space: nowrap;
    color: #000;
  }
  .{{$template|escape:'html'}}_td18 {
    width: 77px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td19 {
    width: 120px;
    font-weight:bold;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    color: #000;
  }
  .{{$template|escape:'html'}}_td20 {
    width: 93px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td21 {
    width: 80px;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    color: #000;
    font-weight:bold;
  }
  .{{$template|escape:'html'}}_td22 {
    width: 898px;
    height: 18px;
  }
  .{{$template|escape:'html'}}_td23 {
    width: 898px;
    height: 28px;
    text-align: left;
    padding:1px 0 2px;
    background-color: #ece9db;
    border-left: solid 1px #aca899;
    vertical-align: bottom;
  }
  .{{$template|escape:'html'}}_td24 {
    width: 526px;
    height: 25px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td25 {
    width: 130px;
    height: 20px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td26 {
    width: 420px;
    height: 20px;
    white-space: nowrap;
    text-align: left;
    vertical-align: middle;
    font-weight:bold;
  }
  .{{$template|escape:'html'}}_td27 {
    width: 420px;
    height: 20px;
    font-weight:bold;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td28 {
    width: 130px;
    height: 20px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td29 {
    width: 300px;
    height: 20px;
    font-weight:bold;
    text-align: left;
    vertical-align: middle;
  }
  
  .{{$template|escape:'html'}}_td30 {
    width: 140px;
    height: 20px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td31 {
    width: 410px;
    height: 20px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td32 {
    width: 140px;
    height: 20px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td33 {
    width: 260px;
    height: 20px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td34 {
    width: 820px;
    height: 22px;
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td35 {
    width: 80px;
    height: 22px;
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td36 {
    width: 880px;
    height: 10px;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td37 {
    width: 880px;
    height: 60px;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td38 {
    width: 880px;
    height: 10px;
    text-align: center;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td39 {
    width: 860px;
    height: 25px;
    font-weight:bold;
    font-size:120%;
    color:#633e36;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td40 {
    width: 860px;
    height: 60px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
  }
  .{{$template|escape:'html'}}_td41 {
    height: 25px;
    font-weight:bold;
    font-size:140%;
    color:#633e36;
    text-align: left;
    white-space:nowrap;
    vertical-align: middle;
    padding: 0 5px 0 0;
  }
  .{{$template|escape:'html'}}_td42 {
    background-color: #f2e6d9;
    height: 25px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    padding: 0 10px;
  }
  .{{$template|escape:'html'}}_td43 {
    width: 110px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td44 {
    width: 240px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td45 {
    width: 140px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td46 {
    width: 150px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td47 {
    width: 170px;
    font-weight:bold;
    font-size:110%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td48 {
    width: 150px;
    text-align: left;
    vertical-align: middle;
  }
  
  .{{$template|escape:'html'}}_td49 {
    width: 430px;
    height: 40px;
    font-weight:bold;
    font-size:120%;
    color:#694247;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td490 {
    width: 430px;
    height: 40px;
    font-weight:bold;
    font-size:120%;
    color:#694247;
    padding-left:20px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td50 {
    width: 430px;
    height: 40px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td51 {
    width: 97px;
    height: 21px;
    text-align: left;
    vertical-align: middle;
    font-size: 10pt;
    color:#694247;
    font-weight:bold;
  }
  .{{$template|escape:'html'}}_tdc {
    text-align: center;
    vertical-align: middle;
    font-size: 10pt;
    color:#694247;
    font-weight:bold;
  }
  .{{$template|escape:'html'}}_td52 {
    width: 90px;
    height: 21px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td53 {
    width: 38px;
    height: 21px;
    padding-left:2px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td54 {
    width: 105px;
    height: 21px;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td55 {
    width: 60px;
    height: 21px;
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td56 {
    height:5px;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td57 {
    padding:3px 0;
    font-style: italic;
    vertical-align: middle;
    font-size:8pt;
    color:#555555;
  }
  .{{$template|escape:'html'}}_td58 {
    height: 32px;
    padding-top:6px;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td59 {
    width: 30px;
    height: 32px;
    text-align: left;
    vertical-align: top;
    font-size: 100%;
    font-family: Arial;
    color:#694247;
    font-weight:bold;
  }
  .{{$template|escape:'html'}}_td60 {
    width: 70px;
    height: 32px;
    text-align: left;
    padding-left:2px;
    font-weight:bold;
    vertical-align: top;
  }
  .{{$template|escape:'html'}}_td600 {
    width: 160px;
    height: 32px;
    text-align: left;
    padding-left:2px;
    font-weight:bold;
    vertical-align: top;
  }
  .{{$template|escape:'html'}}_td61 {
    text-align: left;
    font-weight:bold;
    font-size:125%;
    color:#633e36;
    padding-bottom:5px;
    padding-top:13px;
    vertical-align: bottom;
  }
  .{{$template|escape:'html'}}_td62 {
    width: 820px;
    height: 22px;
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td63 {
    width: 80px;
    height: 22px;
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td64 {
    height: 25px;
    width:125px;
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td65 {
    width: 125px;
    height: 25px;
    text-align: right;
    vertical-align: middle;
    padding: 0 37px 0 0;
  }
  .{{$template|escape:'html'}}_td66 {
    width: 160px;
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td67 {
    text-align: right;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td68 {
    width: 900px;
    height: 30px;
    text-align:right;
    vertical-align:bottom;
    padding:0 20px 4px 0;
  }
  .{{$template|escape:'html'}}_td69 {
    width: 732px;
    height: 40px;
    font-weight:bold;
    font-size:130%;
    color:#633e36;
    text-align:right;
    vertical-align:middle;
    padding-top:8px;
    padding-right:295px;
  }
  .{{$template|escape:'html'}}_td70 {
    width: 168px;
    height: 40px;
    text-align:right;
    vertical-align:bottom;
    padding-bottom:8px;
    padding-right:25px;
  }
  .{{$template|escape:'html'}}_td71 {
    width: 64px;
  }
  .{{$template|escape:'html'}}_td72 {
    background-color:#ebebe3;
    height:15px;
    width: 900px;
    padding:0 20px;
  }
  .{{$template|escape:'html'}}_td73 {
    width: 900px;
    height: 35px;
    font-weight:bold;
    font-size:130%;
    color:#633e36;
  }
  .{{$template|escape:'html'}}_td730 {
    width: 900px;
    height: 35px;
    font-weight:bold;
    font-size:130%;
    color:#633e36;
  }
  .{{$template|escape:'html'}}_inputText {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 280px;
    height: 18px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_inputText1 {
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    width: 90px;
    height: 18px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_inputText2 {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 160px;
    height: 18px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_textareaInput1 {
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    width: 700px;
    height: 90px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_textareaInput2 {
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    width: 897px;
    height: 100px;
    text-align: left;
    margin:0;
  }
  .{{$template|escape:'html'}}_textareaInput3 {
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    width: 897px;
    height: 60px;
    text-align: left;
    margin:0;
  }
  .{{$template|escape:'html'}}_select1 {
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    width: 208px;
    height: 22px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_select2 {
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    width: 160px;
    height: 22px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_select3 {
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    width: 260px;
    height: 22px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_cursorPointer {
    cursor: pointer;
    margin: 1px 0 0 0;
  }
  .{{$template|escape:'html'}}_addBtn {
    cursor: pointer;
    margin: 1px 0 0 2px;
  }
  .{{$template|escape:'html'}}_editBtn {
    cursor: pointer;
  }
  .{{$template|escape:'html'}}_noteMargin {
    margin: 15px 0 0 0;
  }
  .{{$template|escape:'html'}}_modifyOrder {
    cursor: pointer;
  }
  .{{$template|escape:'html'}}_print {
    cursor: pointer;
  }
  .{{$template|escape:'html'}}_div {
    width: 860px;
    height: 60px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
  }
  .{{$template|escape:'html'}}_cancelcustomer {
    background-image: url(images/buttons/cancelcustomer.png);
    height: 25px;
    width: 150px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_cancelcustomer:hover {
    background-image: url(images/buttons/cancelcustomer_h.png);
    height: 25px;
    width: 150px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_printreceipt {
    background-image: url(images/buttons/printreceipt.png);
    height: 25px;
    width: 130px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_printreceipt:hover {
    background-image: url(images/buttons/printareceipt_h.png);
    height: 25px;
    width: 130px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_printallorders {
    background-image: url(images/buttons/printallorders.png);
    height: 25px;
    width: 150px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_printallorders:hover {
    background-image: url(images/buttons/printallorders_h.png);
    height: 25px;
    width: 150px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_modifyorders {
    background-image: url(images/buttons/modifyorders.png);
    height: 25px;
    width: 130px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_modifyorders:hover {
    background-image: url(images/buttons/modifyorders_h.png);
    height: 25px;
    width: 130px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_printtheorder {
    background-image: url(images/buttons/printtheorder.png);
    height: 23px;
    width: 125px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_printtheorder:hover {
    background-image: url(images/buttons/printtheorder_h.png);
    height: 23px;
    width: 123px;
    cursor:pointer;
    border: 0;
    margin-right:2px;
  }
  .{{$template|escape:'html'}}_allfinish {
    background-image: url(images/buttons/allfinish.png);
    height: 23px;
    width: 125px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_allfinish:hover {
    background-image: url(images/buttons/allfinish_h.png);
    height: 23px;
    width: 123px;
    cursor:pointer;
    border: 0;
    margin-right:2px;
  }
  .{{$template|escape:'html'}}_cancel1 {
    background-image: url(images/buttons/cancel1.png);
    height: 23px;
    width: 125px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_cancel1:hover {
    background-image: url(images/buttons/cancel1_h.png);
    height: 23px;
    width: 123px;
    cursor:pointer;
    border: 0;
    margin-right:2px;
  }
  .{{$template|escape:'html'}}_refund {
    background-image: url(images/buttons/refund.png);
    height: 21px;
    width: 60px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_refund:hover {
    background-image: url(images/buttons/refund_h.png);
    height: 21px;
    width: 60px;
    cursor:pointer;
    border: 0;
  }
  

  .{{$template|escape:'html'}}_sign {
    background-image: url(images/buttons/1-1.png);
    height: 23px;
    width: 125px;
    cursor:pointer;
    border: 0;
  }
  
  .{{$template|escape:'html'}}_sign:hover {
    background-image: url(images/buttons/1-2.png);
    height: 23px;
    width: 123px;
    cursor:pointer;
    border: 0;
    margin-right:2px;
  }  
  
  .{{$template|escape:'html'}}_unsign {
    background-image: url(images/buttons/2-1.png);
    height: 23px;
    width: 125px;
    cursor:pointer;
    border: 0;
  } 
  
  .{{$template|escape:'html'}}_unsign:hover {
    background-image: url(images/buttons/2-2.png);
    height: 23px;
    width: 123px;
    cursor:pointer;
    border: 0;
    margin-right:2px;
  } 
  
  .{{$template|escape:'html'}}_rpt {
    background-image: url(images/customer/rpt-1.jpg);
    height: 25px;
    width: 125px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_rpt:hover {
    background-image: url(images/customer/rpt-2.jpg);
    height: 25px;
    width: 125px;
    cursor:pointer;
    border: 0;
  }
  
  .{{$template|escape:'html'}}_rbf {
    background-image: url(images/customer/rbf-1.jpg);
    height: 25px;
    width: 172px;
    cursor:pointer;
    border: 0;
  }
  .{{$template|escape:'html'}}_rbf:hover {
    background-image: url(images/customer/rbf-2.jpg);
    height: 25px;
    width: 172px;
    cursor:pointer;
    border: 0;
  }      
</style>



<script src="jsrequest.php?script={{$template|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      
      var gui = GuiPageCustomerOld.instance('{{$template|escape:'javascript'}}');
      new HandlePageCustomerOld(gui, JSON.parse('{{$operator|escape:javascript}}'), JSON.parse('{{$now|escape:javascript}}'), JSON.parse('{{$options|escape:javascript}}'));
    }
  //-->
</script>

<div id="container" class="page_width">
<div id="{{$template|escape:'html'}}_ecn_div" style="width: 900px; ">
  <table class="{{$template|escape:'html'}}_table19" cellPadding="0" cellSpacing="0">
    <tr>
      <td style="width:100%;text-align:right;" id="{{$template|escape:'html'}}_createDate_div"></td>
    </tr>
  </table>
  <table class="{{$template|escape:'html'}}_table19" cellPadding="0" cellSpacing="0" >
    <tr>
      <td class="{{$template|escape:'html'}}_td41">
        Customer No.
      </td>
      <td class="{{$template|escape:'html'}}_td42" id="{{$template|escape:'html'}}_customerNo_div"></td>
      <td style="width:100%;text-align:right;" id="{{$template|escape:'html'}}_search_div"></td>
    </tr>
  </table>
  
  <table class="{{$template|escape:'html'}}_table30" cellPadding="0" cellSpacing="0">
  <tr>
    <td class="{{$template|escape:'html'}}_tdalert">
    Alert Note
    </td>
  </tr>
  <tr>
    <td align="center">
      <textarea class="{{$template|escape:'html'}}_textareaInput3" id="{{$template|escape:'html'}}_reminderNote_textarea"></textarea>
    </td>
  </tr>
</table>
  </div>
  
  <table class="{{$template|escape:'html'}}_table1" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td1">
        Customer Information
      </td>
    </tr>
  </table>
  <table class="{{$template|escape:'html'}}_table2" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td72" id="{{$template|escape:'html'}}_cancelReason_div"></td>
    </tr>
    <tr>
      <td class="{{$template|escape:'html'}}_td68">
	    <input type="button" class="save" id="{{$template|escape:'html'}}_save1_button" />
        <input type="button" class="{{$template|escape:'html'}}_cancelcustomer" id="{{$template|escape:'html'}}_cancelCustomer_button" />
      </td>
    </tr>
    <tr>
      <td class="{{$template|escape:'html'}}_td2" align="center">
        <table class="{{$template|escape:'html'}}_table3" cellPadding="0" cellSpacing="0" border=0>
          <tr>
            <td class="{{$template|escape:'html'}}_td3">
              Bride Name
            </td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_brideName_text" tabindex="1"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">
              Groom Name
            </td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomName_text" tabindex="7"></input>
            </td>
          </tr>
          
          <tr>
            <td class="{{$template|escape:'html'}}_td3">
              Street Address
            </td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_brideLn1_text" tabindex="2"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">
              Street Address
            </td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomLn1_text" tabindex="8"></input>
            </td>
          </tr>
          
          <tr>
            <td class="{{$template|escape:'html'}}_td3">Suburb</td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_brideLn2_text" tabindex="3"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">Suburb</td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomLn2_text" tabindex="9"></input>
            </td>
          </tr>

          <tr>
            <td class="{{$template|escape:'html'}}_td3">State</td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_brideLn3_text"  tabindex="3"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">State</td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomLn3_text"  tabindex="9"></input>
            </td>
          </tr>
          
          <tr>
            <td class="{{$template|escape:'html'}}_td3">Post Code</td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_brideLn4_text"  tabindex="3"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">Post Code</td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomLn4_text"  tabindex="9"></input>
            </td>
          </tr>    
          
          <tr>
            <td class="{{$template|escape:'html'}}_td3">
              Phone
            </td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_bridePhone_text" tabindex="4"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">
              Phone
            </td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomPhone_text" tabindex="10"></input>
            </td>
          </tr>
          
          <tr>
            <td class="{{$template|escape:'html'}}_td3">
              Mobile
            </td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_brideMobile_text" tabindex="5"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">
              Mobile
            </td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomMobile_text" tabindex="11"></input>
            </td>
          </tr>
          <tr>
            <td class="{{$template|escape:'html'}}_td3">
              Email
            </td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_brideEmail_text" tabindex="6"></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">
              Email
            </td>
            <td class="{{$template|escape:'html'}}_td6">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_groomEmail_text" tabindex="12"></input>
            </td>
          </tr>
          <tr>
            <td class="{{$template|escape:'html'}}_td3">
              Password
            </td>
            <td class="{{$template|escape:'html'}}_td4">
              <input type="text" class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_pwd_text"  readonly></input>
            </td>
            <td class="{{$template|escape:'html'}}_td5">&nbsp;</td>
            <td class="{{$template|escape:'html'}}_td6">&nbsp;</td>
          </tr>		  
        </table>
      </td>
    </tr>
    <tr>
      <td class="{{$template|escape:'html'}}_td7"></td>
    </tr>
  </table>
  
  <table class="{{$template|escape:'html'}}_table4" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td2" align="center">
        <table class="{{$template|escape:'html'}}_table5" cellPadding="0" cellSpacing="0">
          <tr>
            <td class="{{$template|escape:'html'}}_td8">
              Cultural Background
            </td>
            <td class="{{$template|escape:'html'}}_td9">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_cultural_select" tabindex="13"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td10">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addCultural_button" />
            </td>
            <td class="{{$template|escape:'html'}}_td11"></td>
            <td class="{{$template|escape:'html'}}_td12">
              Source
            </td>
            <td class="{{$template|escape:'html'}}_td13">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_source_select"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td14">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addSource_button" />
            </td>
          </tr>
		  <tr>
            <td class="{{$template|escape:'html'}}_td8">
              2nd Cultural Background
            </td>
            <td class="{{$template|escape:'html'}}_td9">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_cultural2_select"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td10">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addCultural2_button" />
            </td>
            <td class="{{$template|escape:'html'}}_td11"></td>
            <td class="{{$template|escape:'html'}}_td12">
               2nd Source
            </td>
            <td class="{{$template|escape:'html'}}_td13">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_source2_select"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td14">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addSource2_button" />
            </td>
          </tr>
          <tr id="{{$template|escape:'html'}}_rc_tr">
            <td class="{{$template|escape:'html'}}_td8">
              Reception Location
            </td>
            <td class="{{$template|escape:'html'}}_td9">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_reception_select"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td10">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addReception_button" />
            </td>
            <td class="{{$template|escape:'html'}}_td11"></td>
            <td class="{{$template|escape:'html'}}_td12">
              Ceremony Location
            </td>
            <td class="{{$template|escape:'html'}}_td13">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_ceremony_select"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td14">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addCeremony_button" />
            </td>
          </tr>
          
          <tr id="{{$template|escape:'html'}}_rc2_tr">
            <td class="{{$template|escape:'html'}}_td8">
             2nd Reception Location
            </td>
            <td class="{{$template|escape:'html'}}_td9">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_reception2_select"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td10">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addReception2_button" />
            </td>
            <td class="{{$template|escape:'html'}}_td11"></td>
            <td class="{{$template|escape:'html'}}_td12">
             2nd Ceremony Location
            </td>
            <td class="{{$template|escape:'html'}}_td13">
              <select type="text" class="{{$template|escape:'html'}}_select1" id="{{$template|escape:'html'}}_ceremony2_select"></select>
            </td>
            <td class="{{$template|escape:'html'}}_td14">
              <input type="button" class="add2"onfocus="blur()" id="{{$template|escape:'html'}}_addCeremony2_button" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  
  <table class="{{$template|escape:'html'}}_table30" cellPadding="0" cellSpacing="0" border=0>
    <tr>
      <td class="{{$template|escape:'html'}}_td1">
        Payment Information
      </td>
    </tr>
  </table>
  
  <table class="{{$template|escape:'html'}}_table4" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td2" align="center">
        <table class="{{$template|escape:'html'}}_table55" cellPadding="0" cellSpacing="0">
          <tr>
            <td class="{{$template|escape:'html'}}_td15">
              Price
            </td>
            <td class="{{$template|escape:'html'}}_td16">
              <span class="{{$template|escape:'html'}}_span1" id="{{$template|escape:'html'}}_price_div"></span>
              <span class="{{$template|escape:'html'}}_span2" id="{{$template|escape:'html'}}_pPercent_div"></span>
            </td>
            <td class="{{$template|escape:'html'}}_td18">
              Received
            </td>
            <td class="{{$template|escape:'html'}}_td19" id="{{$template|escape:'html'}}_received_div"></td>
            <td class="{{$template|escape:'html'}}_td20">
              Anticipated
            </td>
            <td class="{{$template|escape:'html'}}_td21" id="{{$template|escape:'html'}}_anticipated_div"></td>
            <td class="{{$template|escape:'html'}}_td66">
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  
  <table class="{{$template|escape:'html'}}_table29" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td67" >
        (<span id="{{$template|escape:'html'}}_email_num">0</span>) history
        <input type="button" class="{{$template|escape:'html'}}_rpt" id="{{$template|escape:'html'}}_rpt_button1" style="margin-right:-3px;" />
        <input type="button" class="{{$template|escape:'html'}}_rbf" id="{{$template|escape:'html'}}_rbf_button1" style="margin-right:-3px;" />	  
        <input type="button" class="{{$template|escape:'html'}}_printreceipt" id="{{$template|escape:'html'}}_print_button" style="margin-right:-3px;" />
        <input type="button" class="{{$template|escape:'html'}}_printallorders" id="{{$template|escape:'html'}}_printAllOrders_button" style="margin-right:-3px;" />
        <input type="button" class="{{$template|escape:'html'}}_modifyorders" id="{{$template|escape:'html'}}_modify_button"/>
      </td>
    </tr>
  </table>

  <table class="{{$template|escape:'html'}}_table6" cellPadding="0" cellSpacing="0" border=0>
    <tr>
      <td class="{{$template|escape:'html'}}_td1">
        Order Information
      </td>
    </tr>
  </table>
 
  <table class="{{$template|escape:'html'}}_table4" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td22" align="center">
        <table class="{{$template|escape:'html'}}_table7" cellPadding="0" cellSpacing="0">
          <tr>
            <td class="{{$template|escape:'html'}}_td23" id="{{$template|escape:'html'}}_orderTab_div" colSpan="2"></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  
  <table cellPadding="0" cellSpacing="0" class="{{$template|escape:'html'}}_table10" id="{{$template|escape:'html'}}_bgcolor_table">
    <tr>
      <td>
        <table cellPadding="0" cellSpacing="0" style="border-bottom:solid 1px #8f8f8a;">
          <tr>
            <td colSpan="3">
              <table cellPadding="0" cellSpacing="0">
                <tr>
                  <td class="{{$template|escape:'html'}}_td24"><a href="#" class="" id="{{$template|escape:'html'}}_branchHistory_link">All Modification History</a>
                  </td>
                  <td class="{{$template|escape:'html'}}_td64">
                    <input type="button" class="{{$template|escape:'html'}}_sign" id="{{$template|escape:'html'}}_sign_button" style="display:none;"/>
                    <input type="button" class="{{$template|escape:'html'}}_unsign" id="{{$template|escape:'html'}}_unsign_button"  style="display:;"/>
                  </td>				  
                  <td class="{{$template|escape:'html'}}_td64">
                    <input type="button" class="{{$template|escape:'html'}}_printtheorder" id="{{$template|escape:'html'}}_printOrder_button" />
                  </td>
                  <td class="{{$template|escape:'html'}}_td64">
                    <input type="button" class="{{$template|escape:'html'}}_allfinish" id="{{$template|escape:'html'}}_finish_button" />
                  </td>
                  <td class="{{$template|escape:'html'}}_td65">
                    <input type="button" class="{{$template|escape:'html'}}_cancel1" id="{{$template|escape:'html'}}_cancelOrder_button" />
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td class="{{$template|escape:'html'}}_td22" id="{{$template|escape:'html'}}_message_div" align="left"></td>
          </tr>
          <tr>
            <td class="{{$template|escape:'html'}}_td2" align="center">
              <table class="{{$template|escape:'html'}}_table21" cellPadding="0" cellSpacing="0" border=0>
                <tr>
                  <td align="center">
                    <table class="{{$template|escape:'html'}}_table8" cellPadding="0" cellSpacing="0">
                      <tr>
                        <td class="{{$template|escape:'html'}}_td25" id="{{$template|escape:'html'}}_bgColor1_div">
                          Total Price
                        </td> 
                        <td class="{{$template|escape:'html'}}_td27">
                          <span class="{{$template|escape:'html'}}_span3" id="{{$template|escape:'html'}}_totalPrice_div"></span>
                          <span class="{{$template|escape:'html'}}_span3" style="color: #694247" id="{{$template|escape:'html'}}_percent_div"></span>
                        </td>
                        <td class="{{$template|escape:'html'}}_td28" id="{{$template|escape:'html'}}_bgColor2_div">
                          Order Type
                        </td>
                        <td class="{{$template|escape:'html'}}_td29" id="{{$template|escape:'html'}}_orderType_div"></td>
                      </tr>
                      
                      <tr>
                        <td class="{{$template|escape:'html'}}_td25" id="{{$template|escape:'html'}}_bgColor3_div">
                          Photo Package
                        </td>
                        <td class="{{$template|escape:'html'}}_td26" id="{{$template|escape:'html'}}_photoPackage_div"></td>
                        <td class="{{$template|escape:'html'}}_td28" id="{{$template|escape:'html'}}_bgColor4_div">
                          Video Package
                        </td>
                        <td class="{{$template|escape:'html'}}_td29" id="{{$template|escape:'html'}}_videoPackage_div"></td>
                      </tr>
                      
                      <tr>
                        <td class="{{$template|escape:'html'}}_td25">
                          <span id="{{$template|escape:'html'}}_dateTitle_img"></span>
                        </td>
                        <td class="{{$template|escape:'html'}}_td26" id="{{$template|escape:'html'}}_date_div"></td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table class="{{$template|escape:'html'}}" cellPadding="0" cellSpacing="0" border=0>
          <tr>
            <td class="{{$template|escape:'html'}}_td73" align="center" valign="bottom"  id="{{$template|escape:'html'}}_bgColor5_div">
            Receipt
            </td>
          </tr>
          <tr>
            <td class="{{$template|escape:'html'}}_td2" align="center">
              <table class="{{$template|escape:'html'}}_table21" cellPadding="0" cellSpacing="0">
                <tr>
                  <td align="center">
                    <table class="{{$template|escape:'html'}}_table11" cellPadding="0" cellSpacing="0">
                      <tr>
                        <td class="{{$template|escape:'html'}}_td43" id="{{$template|escape:'html'}}_bgColor6_div">
                          Total price
                        </td> 
                        <td class="{{$template|escape:'html'}}_td44" id="{{$template|escape:'html'}}_tPrice_div"></td>
                        <td class="{{$template|escape:'html'}}_td45" id="{{$template|escape:'html'}}_bgColor7_div">
                          Total Received
                        </td>
                        <td class="{{$template|escape:'html'}}_td46" id="{{$template|escape:'html'}}_totalReceived_div"></td>
                        <td class="{{$template|escape:'html'}}_td47" id="{{$template|escape:'html'}}_bgColor8_div">
                          Total Anticipated
                        </td>
                        <td class="{{$template|escape:'html'}}_td48" id="{{$template|escape:'html'}}_totalAnticipated_div"></td>
                      </tr>
                    </table>
                    
                    <table class="{{$template|escape:'html'}}_table23" cellPadding="0" cellSpacing="0">
                      <tr>
                        <td class="{{$template|escape:'html'}}_td49" id="{{$template|escape:'html'}}_bgColor9_div">
                          Select payment date for the payment you are about to enter:
                        </td>
                        <td class="{{$template|escape:'html'}}_td50">
                          <input type="text" class="{{$template|escape:'html'}}_inputText2" id="{{$template|escape:'html'}}_date_text"></input>
                        </td>
                      </tr>
                    </table>
                    
                    <table class="{{$template|escape:'html'}}_table24" cellPadding="0" cellSpacing="0" border=0>
                      <tr>
                        <td style="vertical-align: top;">
                          <table cellPadding="0" cellSpacing="0" id="{{$template|escape:'html'}}_payment1_div" border=0>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td51" id="{{$template|escape:'html'}}_bgColor10_div">
                                Deposit
                              </td>
                              <td class="{{$template|escape:'html'}}_td52">
                                <input type="text" class="{{$template|escape:'html'}}_inputText1" id="{{$template|escape:'html'}}_payment1_text"></input>
                              </td>
                              <td class="{{$template|escape:'html'}}_td53" id="{{$template|escape:'html'}}_paymentPercent1_div"></td>
                              <td class="{{$template|escape:'html'}}_td54">
                                <table cellPadding="0" cellSpacing="0" style="width:100px">
                                  <tr>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_depCash_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor11_div">
                                      C
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_depBank_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor12_div">
                                      B
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_depQueck_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor13_div">
                                      Q
                                    </td>
                                  </tr>
                                </table>
                              </td>
                              <td class="{{$template|escape:'html'}}_td55">
                                <input type="button"  class="paid" id="{{$template|escape:'html'}}_paid1_button" />
                              </td>
                            </tr>
                            <tr>
                              <td colSpan="5" class="{{$template|escape:'html'}}_td56" align="right">
                                <table class="{{$template|escape:'html'}}_table25"  cellPadding="0" cellSpacing="0" border=0>
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td57" id="{{$template|escape:'html'}}_paidHistory1_div" align="right"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td58" colSpan="5" align="right">
                                <table class="{{$template|escape:'html'}}_table26" cellPadding="0" cellSpacing="0">
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td59" id="{{$template|escape:'html'}}_paidc1_div">Paid:</td>
                                    <td class="{{$template|escape:'html'}}_td60" id="{{$template|escape:'html'}}_paid1_div"></td>
                                    <td class="{{$template|escape:'html'}}_td59">Due:</td>
                                    <td class="{{$template|escape:'html'}}_td600" id="{{$template|escape:'html'}}_due1_div"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                        <td class="{{$template|escape:'html'}}_td71"></td>
                        <td style="vertical-align: top;">
                          <table cellPadding="0" cellSpacing="0" id="{{$template|escape:'html'}}_payment2_div" border=0>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td51" id="{{$template|escape:'html'}}_bgColor14_div">
                                2<sup>nd</sup> Payment
                              </td>
                              <td class="{{$template|escape:'html'}}_td52">
                                <input type="text" class="{{$template|escape:'html'}}_inputText1" id="{{$template|escape:'html'}}_payment2_text"></input>
                              </td>
                              <td class="{{$template|escape:'html'}}_td53" id="{{$template|escape:'html'}}_paymentPercent2_div"></td>
                              <td class="{{$template|escape:'html'}}_td54">
                                <table cellPadding="0" cellSpacing="0" style="width:100px">
                                  <tr>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment2Cash_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor15_div">
                                      C
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment2Bank_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor16_div">
                                      B
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment2Queck_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor17_div">
                                      Q
                                    </td>
                                  </tr>
                                </table>
                              </td>
                              <td class="{{$template|escape:'html'}}_td55">
                                <input type="button"  class="paid" id="{{$template|escape:'html'}}_paid2_button" />
                              </td>
                            </tr>
                            <tr>
                              <td colSpan="5" class="{{$template|escape:'html'}}_td56" align="right">
                                <table class="{{$template|escape:'html'}}_table25"  cellPadding="0" cellSpacing="0" border=0>
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td57" id="{{$template|escape:'html'}}_paidHistory2_div" align="right"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td58" align="right" colSpan="5">
                                <table class="{{$template|escape:'html'}}_table26" cellPadding="0" cellSpacing="0">
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td59" id="{{$template|escape:'html'}}_paidc2_div">Paid:</td>
                                    <td class="{{$template|escape:'html'}}_td60" id="{{$template|escape:'html'}}_paid2_div"></td>
                                    <td class="{{$template|escape:'html'}}_td59">Due:</td>
                                    <td class="{{$template|escape:'html'}}_td600 " id="{{$template|escape:'html'}}_due2_div"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                      
                      <tr>
                        <td style="vertical-align: top;">
                          <table cellPadding="0" cellSpacing="0" id="{{$template|escape:'html'}}_payment3_div" border=0>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td51" id="{{$template|escape:'html'}}_bgColor18_div">
                                3<sup>rd</sup> Payment
                              </td>
                              <td class="{{$template|escape:'html'}}_td52">
                                <input type="text" class="{{$template|escape:'html'}}_inputText1" id="{{$template|escape:'html'}}_payment3_text"></input>
                              </td>
                              <td class="{{$template|escape:'html'}}_td53" id="{{$template|escape:'html'}}_paymentPercent3_div"></td>
                              <td class="{{$template|escape:'html'}}_td54">
                                <table cellPadding="0" cellSpacing="0" style="width:100px">
                                  <tr>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment3Cash_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor19_div">
                                      C
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment3Bank_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor20_div">
                                      B
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment3Queck_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor21_div">
                                      Q
                                    </td>
                                  </tr>
                                </table>
                              </td>
                              <td class="{{$template|escape:'html'}}_td55">
                                <input type="button"  class="paid" id="{{$template|escape:'html'}}_paid3_button" />
                              </td>
                            </tr>
                            <tr>
                              <td colSpan="5" class="{{$template|escape:'html'}}_td56" align="right">
                                <table class="{{$template|escape:'html'}}_table25"  cellPadding="0" cellSpacing="0" border=0>
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td57" id="{{$template|escape:'html'}}_paidHistory3_div" align="right"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td58" align="right" colSpan="5">
                                <table class="{{$template|escape:'html'}}_table26" cellPadding="0" cellSpacing="0">
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td59" id="{{$template|escape:'html'}}_paidc3_div">Paid:</td>
                                    <td class="{{$template|escape:'html'}}_td60" id="{{$template|escape:'html'}}_paid3_div"></td>
                                    <td class="{{$template|escape:'html'}}_td59">Due:</td>
                                    <td class="{{$template|escape:'html'}}_td600 " id="{{$template|escape:'html'}}_due3_div"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                        <td class="{{$template|escape:'html'}}_td71"></td>
                        <td style="vertical-align: top;">
                          <table cellPadding="0" cellSpacing="0" id="{{$template|escape:'html'}}_payment4_div" border=0>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td51" id="{{$template|escape:'html'}}_bgColor22_div">
                               4<sup>th</sup> Payment
                              </td>
                              <td class="{{$template|escape:'html'}}_td52">
                                <input type="text" class="{{$template|escape:'html'}}_inputText1" id="{{$template|escape:'html'}}_payment4_text"></input>
                              </td>
                              <td class="{{$template|escape:'html'}}_td53" id="{{$template|escape:'html'}}_paymentPercent4_div"></td>
                              <td class="{{$template|escape:'html'}}_td54" align="left">
                                <table cellPadding="0" cellSpacing="0" style="width:100px">
                                  <tr>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment4Cash_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor23_div">
                                      C
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment4Bank_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor24_div">
                                      B
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_payment4Queck_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor25_div">
                                      Q
                                    </td>
                                  </tr>
                                </table>
                              </td>
                              <td class="{{$template|escape:'html'}}_td55">
                                <input type="button"  class="paid" id="{{$template|escape:'html'}}_paid4_button" />
                              </td>
                            </tr>
                            <tr>
                              <td colSpan="5" class="{{$template|escape:'html'}}_td56" align="right">
                                <table class="{{$template|escape:'html'}}_table25"  cellPadding="0" cellSpacing="0" border=0>
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td57" id="{{$template|escape:'html'}}_paidHistory4_div" align="right"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td58" align="right" colSpan="5">
                                <table class="{{$template|escape:'html'}}_table26" cellPadding="0" cellSpacing="0">
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td59" id="{{$template|escape:'html'}}_paidc4_div">Paid:</td>
                                    <td class="{{$template|escape:'html'}}_td60" id="{{$template|escape:'html'}}_paid4_div"></td>
                                    <td class="{{$template|escape:'html'}}_td59">Due:</td>
                                    <td class="{{$template|escape:'html'}}_td600 " id="{{$template|escape:'html'}}_due4_div"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                    
                    <table class="{{$template|escape:'html'}}_table23" cellPadding="0" cellSpacing="0">
                      <tr>
                        <td colSpan="2">
                          <hr width=900px;color=#b3b3ba size=1>
                        </td>
                      </tr>
                      <tr>
                        <td colSpan="2" class="{{$template|escape:'html'}}_td730" align="center" valign="middle"  id="{{$template|escape:'html'}}_bgColor35_div">
                        Refund
                        </td>
                      </tr>
                      <tr>
                        <td class="{{$template|escape:'html'}}_td490" id="{{$template|escape:'html'}}_bgColor26_div">
                          Select refund date for the payment you are about to enter:
                        </td>
                        <td class="{{$template|escape:'html'}}_td50">
                          <input type="text" class="{{$template|escape:'html'}}_inputText2" id="{{$template|escape:'html'}}_refundDate_text"></input>
                        </td>
                      </tr>
                    </table>
                  
                    <table>
                      <tr>
                        <td style="vertical-align: top;">
                          <table cellPadding="0" cellSpacing="0" id="{{$template|escape:'html'}}_payment3_div" border=0>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td51" id="{{$template|escape:'html'}}_bgColor27_div">
                                Refund 
                              </td>
                              <td class="{{$template|escape:'html'}}_td52">
                                <input type="text" class="{{$template|escape:'html'}}_inputText1" id="{{$template|escape:'html'}}_refundFee_text"></input>
                              </td>
                              <td class="{{$template|escape:'html'}}_td53"></td>
                              <td class="{{$template|escape:'html'}}_td54">
                                <table cellPadding="0" cellSpacing="0" style="width:100px">
                                  <tr>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_refundCash_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor28_div">
                                      C
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_refundBank_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor29_div">
                                      B
                                    </td>
                                    <td>
                                      <input type="radio" name="pay1" id="{{$template|escape:'html'}}_refundQueck_radio" ></input>
                                    </td>
                                    <td class="{{$template|escape:'html'}}_tdc" id="{{$template|escape:'html'}}_bgColor30_div">
                                      Q
                                    </td>
                                  </tr>
                                </table>
                              </td>
                              <td class="{{$template|escape:'html'}}_td55">
                                <input type="button" class="{{$template|escape:'html'}}_refund" id="{{$template|escape:'html'}}_refundPaid_button" />
                              </td>
                            </tr>
                            <tr>
                              <td colSpan="5" class="{{$template|escape:'html'}}_td56" align="right">
                                <table class="{{$template|escape:'html'}}_table25"  cellPadding="0" cellSpacing="0" border=0>
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td57" id="{{$template|escape:'html'}}_refundHistory_div" align="right"></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                            <tr>
                              <td class="{{$template|escape:'html'}}_td58" align="right" colSpan="5">
                                <table class="{{$template|escape:'html'}}_table26" cellPadding="0" cellSpacing="0">
                                  <tr>
                                    <td class="{{$template|escape:'html'}}_td59" id="{{$template|escape:'html'}}_refundc_div">Refund:</td>
                                    <td class="{{$template|escape:'html'}}_td60" id="{{$template|escape:'html'}}_refund_div"></td>
                                    <td class="{{$template|escape:'html'}}_td59"></td>
                                    <td class="{{$template|escape:'html'}}_td600 "></td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                        <td style="width:460px"></td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table style="border-top:solid 1px #8f8f8a" cellPadding="0" cellSpacing="0">
          <tr>
            <td class="{{$template|escape:'html'}}_td69"  id="{{$template|escape:'html'}}_bgColor31_div">
              Task
            </td>
            <td class="{{$template|escape:'html'}}_td70" >
              <a href="#" class="" id="{{$template|escape:'html'}}_produceHistory_link">All Logs</a>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table class="" cellPadding="0" cellSpacing="0">
          <tr>
            <td class="{{$template|escape:'html'}}_td2" align="center">
              <table cellPadding="0" cellSpacing="0" >
                <tr>
                  <td align="center">
                    <div id="{{$template|escape:'html'}}_preconMusic_div"></div>
                  </td>
                </tr>
              </table>
              <table cellPadding="0" cellSpacing="0">
                <tr>
                  <td align="center" style="padding-top:13px;">
                    <div id="{{$template|escape:'html'}}_photoVideo_div"></div>
                  </td>
                </tr>
              </table>
              <table class="{{$template|escape:'html'}}_table27" cellPadding="0" cellSpacing="0">
                <tr>
                  <td class="{{$template|escape:'html'}}_td61" id="{{$template|escape:'html'}}_bgColor32_div">
                    Package Includes
                  </td>
                </tr>
              </table>
              <table class="{{$template|escape:'html'}}" cellPadding="0" cellSpacing="0">
                <tr>
                  <td align="center">
                    <div id="{{$template|escape:'html'}}_packageInclude_div"></div>
                  </td>
                </tr>
              </table>
              <table class="{{$template|escape:'html'}}_table27" cellPadding="0" cellSpacing="0">
                <tr>
                  <td class="{{$template|escape:'html'}}_td61" id="{{$template|escape:'html'}}_bgColor33_div">
                    Additions
                  </td>
                </tr>
              </table>
              <table class="{{$template|escape:'html'}}" cellPadding="0" cellSpacing="0">
                <tr>
                  <td align="center">
                    <div id="{{$template|escape:'html'}}_additions_div"></div>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table class="{{$template|escape:'html'}}" cellPadding="0" cellSpacing="0">
          <tr>
            <td class="{{$template|escape:'html'}}_td2" align="center">
              <table class="{{$template|escape:'html'}}_table14" cellPadding="0" cellSpacing="0">
                <tr>
                  <td class="{{$template|escape:'html'}}_td37" align="center">
                    <table class="{{$template|escape:'html'}}_table15" cellPadding="0" cellSpacing="0">
                      <tr>
                        <td class="{{$template|escape:'html'}}_td39" id="{{$template|escape:'html'}}_bgColor34_div">
                        Customer Note
                        </td>
                      </tr>
                      <tr>
                        <td class="{{$template|escape:'html'}}_td40" id="{{$template|escape:'html'}}_customerNote_div" ></td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td class="{{$template|escape:'html'}}_td7"></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  
  <table class="{{$template|escape:'html'}}_table30" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td1">
        <table width="100%">
          <tr>
            <td><span>Office Note</span></td>
            <td align="right">
              <input id="{{$template|escape:'html'}}_ecn_checkbox" type="checkbox"></input>ECN
            </td>
          </tr>
        </table>
      </td>      
    </tr>
    <!--<tr>
      <td align="center">
        <textarea class="{{$template|escape:'html'}}_textareaInput2" id="{{$template|escape:'html'}}_officeNote_textarea"></textarea>
      </td>
    </tr>-->
    <tr>
      <td align="center">
        <div  id="{{$template|escape:'html'}}_div"></div>
      </td>
    </tr>    
  </table>
  
  <table class="{{$template|escape:'html'}}_table28" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td62">
        <input type="button" class="save" id="{{$template|escape:'html'}}_save_button" />
      </td>
      <td class="{{$template|escape:'html'}}_td63">
        <input type="button" class="cancel" id="{{$template|escape:'html'}}_cancel_button" />
      </td>
    </tr>
  </table>
</div>